text = "High Scores"
text += "Fred\t899\n"
text += "Mike B.\t755\n"

#e
f = open("text.txt", 'w')
f.write(text)
f.close()